package com.ldg.crm.entity;

import java.io.Serializable;
import java.util.Collection;
import java.util.Date;


public class UserEntity implements Serializable {
    /**
     * 用户id
     */
    private Integer uid;

    /**
     * 部门_id
     */
    private Integer depId;

    /**
     * 员工id
     */
    private Integer employeeId;

    /**
     * name
     */
    private String userName;

    /**
     * password
     */
    private String userPwd;

    /**
     * createDate
     */
    private Date createDate;

    /**
     * 状态
     */
    private Byte status;

    /**
     * tb_user
     */
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     * @return uid 用户id
     */
    public Integer getUid() {
        return uid;
    }

    /**
     * 用户id
     * @param uid 用户id
     */
    public void setUid(Integer uid) {
        this.uid = uid;
    }

    /**
     * 部门_id
     * @return dep_id 部门_id
     */
    public Integer getDepId() {
        return depId;
    }

    /**
     * 部门_id
     * @param depId 部门_id
     */
    public void setDepId(Integer depId) {
        this.depId = depId;
    }

    /**
     * 员工id
     * @return employee_id 员工id
     */
    public Integer getEmployeeId() {
        return employeeId;
    }

    /**
     * 员工id
     * @param employeeId 员工id
     */
    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    /**
     * name
     * @return user_name name
     */
    public String getUserName() {
        return userName;
    }

    /**
     * name
     * @param userName name
     */
    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    /**
     * password
     * @return user_pwd password
     */
    public String getUserPwd() {
        return userPwd;
    }

    /**
     * password
     * @param userPwd password
     */
    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd == null ? null : userPwd.trim();
    }

    /**
     * createDate
     * @return create_date createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * createDate
     * @param createDate createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * 状态
     * @return status 状态
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 状态
     * @param status 状态
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uid=").append(uid);
        sb.append(", depId=").append(depId);
        sb.append(", employeeId=").append(employeeId);
        sb.append(", userName=").append(userName);
        sb.append(", userPwd=").append(userPwd);
        sb.append(", createDate=").append(createDate);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

}